class CRPEGraphOptions

The CRPEGraphOptions class contains information on several options available with graphs and charts. This class is used by CRPEJob::GetGraphOptions, to determine what options have been set for a chart, and it is used by CRPEJob::SetGraphOptions, to change the options for a chart.

Data Members

m_graphMax
Value

Specifies the maximum value that will appear in the graph. Any graph values above this value are not charted.

m_graphMinValue

Specifies the minimum value that will appear in the graph. Any graph values below this value are not charted.

m_showDataValue

Specifies whether or not to display the numeric value associated with each riser on the chart. If set to TRUE (1), a value appears in the graph for each riser.

m_showGridLine

Specifies whether or not to display grid lines on the graph.

m_verticalBars

Specifies whether to display the bars in a bar graph vertically or horizontally.

m_showLegend

Specifies whether or not to display the graph legend.

m_fontFaceName

Specifies the font for all text and values in the entire graph.

Constructor CRPEGraphOptions::CRPEGraphOptions

Constructs a CRPEGraphOptions class object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Constructor Default Syntax

CRPEGraphOptions()

Constructor Syntax
CRPEGraphOptions (graphMaxValue FLOAT : 0, graphMinValue FLOAT : 0, 
showDataValue BOOLEAN : FALSE, showGridLine BOOLEAN : FALSE, 
verticalBars BOOLEAN : FALSE, showLegend BOOLEAN : FALSE, fontFaceName 
CHAR (*) : NULL)
Constructor Parameters

graphMaxValue

Specifies the maximum value that will appear in the graph. Any graph values above this value are not charted. Assigns this value to the CRPEGraphOptions::m_graphMaxValue member variable.

graphMinValue

Specifies the minimum value that will appear in the graph. Any graph values below this value are not charted. Assigns this value to the CRPEGraphOptions::m_graphMinValue member variable.

showDataValue

Specifies whether or not to display the numeric value associated with each riser on the chart. If set to TRUE, a value appears in the graph for each riser. Assigns this value to the CRPEGraphOptions::m_showDataValue member variable.

showGridLine

Specifies whether or not to display grid lines on the graph. Assigns this value to the CRPEGraphOptions::m_showGridLine member variable.

verticalBars

Specifies whether to display the bars in a bar graph vertically or horizontally. Assigns this value to the CRPEGraphOptions::m_verticalBars member variable.

showLegend

Specifies whether or not to display the graph legend. Assigns this value to the CRPEGraphOptions::m_showLegend member variable.

fontFaceName

Specifies the font for all text and values in the entire graph. Assigns this value to the CRPEGraphOptions::m_fontFaceName member variable.

Related Report Engine Calls

PEGraphOptionInfo



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com